package com.chixing.pojo;

import java.util.List;

/**
 * 一个公司包含多个职位
 * 职位信息在职位集合中
 *
 */
public class CompanyAndJobs {
    private CompanyDetail companyDetail;
    private List<JobDetail> jobDetailList;

    public CompanyAndJobs() {
    }

    public CompanyAndJobs(CompanyDetail companyDetail, List<JobDetail> jobDetailList) {
        this.companyDetail = companyDetail;
        this.jobDetailList = jobDetailList;
    }

    public CompanyDetail getCompanyDetail() {
        return companyDetail;
    }

    public void setCompanyDetail(CompanyDetail companyDetail) {
        this.companyDetail = companyDetail;
    }

    public List<JobDetail> getJobDetailList() {
        return jobDetailList;
    }

    public void setJobDetailList(List<JobDetail> jobDetailList) {
        this.jobDetailList = jobDetailList;
    }

    @Override
    public String toString() {
        return "CompanyAndJobs{" +
                "companyDetail=" + companyDetail +
                ", jobDetailList=" + jobDetailList +
                '}';
    }
}
